window.addEvent('domready', function(){
    $$('input.DatePicker').each( function(el){
        new DatePicker(el);
    });
});